package com.changgou.goods.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2024-08-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("tb_category_brand")
public class CategoryBrand implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "category_id", type = IdType.AUTO)
    private Integer categoryId;

    @TableField("brand_id")
    private Integer brandId;

}
